//
//  PolygonShape.h
//  WhatATool_
//
//  Created by Iphone Development Enrichment on 29/01/2010.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>


@interface PolygonShape : NSObject {
	
	NSString *name;
	int numberOfSides;
	int minimumNumberOfSides, maximumNumberOfSides;
	float angleInDegrees, angleInRadians;
	
}

@property int numberOfSides, minimumNumberOfSides, maximumNumberOfSides;
@property(readonly) float angleInDegrees, angleInRadians;

-(NSString*) getName;

-(NSString*) setNumberOfSides: (int) n;
-(NSString*) setMinimumNumberOfSides: (int) mn;
-(NSString*) setMaximumNumberOfSides: (int) mx;

@end
